/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sandbox.org.wads.lib.xpdl;

import java.util.logging.Level;
import java.util.logging.Logger;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;

/**
 *
 * @author Nattasan W.
 */
public class WADSXPDLDocument {
  private Document XPDLDocument;
  
  public WADSXPDLDocument() {
    try {
      XPDLDocument = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
    }
    catch (ParserConfigurationException ex) {
      Logger.getLogger(WADSXPDLDocument.class.getName()).log(Level.SEVERE, null, ex);
    }
  }

  public Document getXPDLDocument() {
    return XPDLDocument;
  }

  public void setXPDLDocument(Document XPDLDocument) {
    this.XPDLDocument = XPDLDocument;
  }

}
